<!DOCTYPE html>
<html lang="en">

<head>
    <title>My BCIT Project</title>
    <meta name="comp2800 template" content="My 2800 App">

    <!------------------------>
    <!-- Required meta tags -->
    <!------------------------>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

          <!-- This page requires logged in user --> 
    <script src="scripts/checkLogin.js"></script> 
    <!------------------------------------------>
    <link href="styles/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
    <script src="scripts/bootstrap.js" crossorigin="anonymous"></script>

    <!-------------------------------------------------------->
    <!-- Firebase 8 Library related CSS, JS, JQuery go here -->
    <!-------------------------------------------------------->
    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>

    <!-------------------------------------------->
    <!-- Other libraries and styles of your own -->
    <!-------------------------------------------->
    <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
    <!-- <link rel="stylesheet" href="./styles/style.css"> -->

</head>

<body>
    <!------------------------------>
    <!-- Your HTML Layout go here -->
    <!------------------------------>

    <!-- our own navbar goes here -->
    <nav id="navbarPlaceholder"></nav>

    <!-- the body of your page goes here -->
    <!-- stuff -->
    <div class="container py-4">
        <h1>History Page</h1>
        <h1>For <span id="name-goes-here">my friend</span></h1>
        <div id="history-goes-here" class="row row-cols-auto"> 
</div>
    </div>

    <!-- our own footer goes here-->
    <nav id="footerPlaceholder"></nav>
    
<template id="postCardTemplate"> 
    <div class="card py-2 mx-2 bg-light"> 
        <div class="card-body"> 
            <div class="row"> 
                <div class="col-4"> 
                    <img class="card-image card-img-left" width=100 height=100 src=" ..." 
alt="..."> 
                </div> 
                <div class="col-6"> 
                    <h5 class="card-title">Calorie: <span class="count">0</span></h5> 
                    <p class="date">placeholder</p> 
                    <p class="card-description">placeholder</p> 
                </div> 
                <div class="col-1"> 
<button class="my-1 btn deleteButton"> 
<!-- Add an icon from bootstrap here --> 
 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-trash3-fill" viewBox="0 0 16 16">
  <path d="M11 1.5v1h3.5a.5.5 0 0 1 0 1h-.538l-.853 10.66A2 2 0 0 1 11.115 16h-6.23a2 2 0 0 1-1.994-1.84L2.038 3.5H1.5a.5.5 0 0 1 0-1H5v-1A1.5 1.5 0 0 1 6.5 0h3A1.5 1.5 0 0 1 11 1.5m-5 0v1h4v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5M4.5 5.029l.5 8.5a.5.5 0 1 0 .998-.06l-.5-8.5a.5.5 0 1 0-.998.06m6.53-.528a.5.5 0 0 0-.528.47l-.5 8.5a.5.5 0 0 0 .998.058l.5-8.5a.5.5 0 0 0-.47-.528M8 4.5a.5.5 0 0 0-.5.5v8.5a.5.5 0 0 0 1 0V5a.5.5 0 0 0-.5-.5"/>
</svg>
</button> 
</div> 
            </div> 
        </div> 
    </div> 
</template> 
    <!---------------------------------------------->
    <!-- Your own JavaScript functions go here    -->
    <!---------------------------------------------->
    <script src="./scripts/skeleton.js"></script>

    <!-- <script src="./scripts/script.js"></script> -->
    <script src="./scripts/history.js">

    </script>

</body>

</html>